package com.demo;

import java.util.Date;

public class MyTestService {
    public void m1 () {
        System.out.println("我是m1..." + new Date());
        m2();
    }
    public int m2 () {
        System.out.println("我是m2...");
        try {
            Thread.sleep(500);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return 0;
    }
}
